package com.ruoyi.performance.service;


import com.ruoyi.performance.domain.PerfGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PerfGroupService {
    List<PerfGroup> selectPerfGroupById(Long id);

    List<PerfGroup> selectPerfGroupByCompanycode(String Companycode);

    List<PerfGroup> selectPerfGroupByGroupcode(String groupcode);

    List<PerfGroup> selectPerfGroupByGroupname(String groupname);

    List<PerfGroup> selectPerfGroupList(PerfGroup perfGroup);

    List<PerfGroup> selectPerfGroupByCompanycodeAndGroupcodeAndGroupname(@Param("companycode") String companycode,@Param("groupcode") String groupcode,@Param("groupname") String groupname);

    List<PerfGroup> selectPerfGroupByCompanycodeAndGroupcode(@Param("companycode") String companycode,@Param("groupcode") String groupcode);

    int insertPerfGroup(PerfGroup perfGroup);

    int updatePerfGroup(PerfGroup perfGroup);

//    int deletePerfGroupById(int id);

    int deletePerfGroupById(String id);
}
